package com.wish.wishhouse_resource.service.impl;

import com.wish.wishhouse_resource.entity.TbPublicFacility;
import com.wish.wishhouse_resource.mapper.TbPublicFacilityMapper;
import com.wish.wishhouse_resource.service.ITbPublicFacilityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 公共配套表 服务实现类
 * </p>
 *
 * @author zhangshuxin
 * @author cyy
 * @since 2021-04-01
 */
@Service
public class TbPublicFacilityServiceImpl extends ServiceImpl<TbPublicFacilityMapper, TbPublicFacility> implements ITbPublicFacilityService {

    @Resource
    private TbPublicFacilityMapper tbPublicFacilityMapper;
    @Override
    public List<TbPublicFacility> getPublicFacilitieTypeList() {
        return tbPublicFacilityMapper.queryList(new HashMap<>());
    }
}
